package SpringBoot.spring_boot_starter_web.D02_指定使用Jetty.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 *
 * @author 周成功
 *
 */
@RestController
public class D02Controller {
    @RequestMapping("/hello")  
    public String hello(HttpServletRequest request, HttpServletResponse response) {  
        return "hello world";  
    }
}
